package com.miracle9.game.dao;
import com.miracle9.game.entity.BusineInfoTemp;
import java.util.List;
import org.hibernate.Query;
import org.springframework.stereotype.Repository;

@Repository
public class BusineInfoTempServiceDao extends SqlOperating<BusineInfoTemp, Integer>
{
  public List<Object[]> getAdminAndSum(String startTime)
  {
    return q_CreateSql("select admin,sum(payCount),sum(exchangeCount),sum(takeDeposit),sum(returnDeposit) from BusineInfoTemp where datetime>=? group by admin", new Object[] { startTime }).list();
  }
}
